package com.lone.demo.factorypattern.factory;

import com.lone.demo.factorypattern.buttons.Button;
import com.lone.demo.factorypattern.buttons.WindowsButton;

/**
 * Windows Dialog will produce Windows buttons.
 */
public class WindowsDialog extends Dialog{
    @Override
    protected Button createButton() {
        return new WindowsButton();
    }
}
